package com.sean.designpatterns.create.singleton;

public class SingleObject1 {
    private static SingleObject1 singleton;

    private SingleObject1() {

    }

    public static SingleObject1 getInstance() {
        if (singleton == null) {
            singleton = new SingleObject1();
        }
        return singleton;
    }

}
